package sfy.md.structure.bridge.demo3;

public class ChoseBag {

    public static void main(String[] args){
        Color color = new Red();
        Bag bag  = new Wallet();
        bag.setColor(color);
        String name =  bag.getName();
        System.out.println(name);
    }



}
